Only compile gtkmountoperation-stub if the X11 backend is not enabled
authorDan Cîrnaț <dan@alt.md>
Tue, 4 May 2021 11:51:35 +0000 (13:51 +0200)
committerDan Cîrnaț <dan@alt.md>
Thu, 6 May 2021 08:38:41 +0000 (10:38 +0200)
gtk/meson.build

index ed6c97617bcd3794e39702c1ab84f1a8b52ee92e..2bb41b03e7797d6df9f344909f235bc1117ac2ea 100644 (file)
@@ -814,7 +814,6 @@ endif
 if macos_enabled
   gtk_sources += files([
     'gtksearchenginequartz.c',
-    'gtkmountoperation-stub.c',
     'gtkapplication-quartz.c',
     'gtkapplication-quartz-menu.c',
     'gtkfilechoosernativequartz.c',
@@ -825,7 +824,7 @@ if macos_enabled
   gtk_cargs += ['-xobjective-c']  # FIXME? maybe add_languages() instead?
 endif
 
-if not (x11_enabled or win32_enabled or macos_enabled)
+if not (x11_enabled or win32_enabled)
   gtk_sources += ['gtkmountoperation-stub.c', ]
 endif